package cn.wolfcode.luowowo.article.domain;

import cn.wolfcode.luowowo.common.domain.BaseDomain;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Setter
@Getter
@ToString
public class Problem extends BaseDomain{
    private Integer level;
    private Long userId;
    private String username;
    private String headUrl;
    private String coverUrl;
    private String content;
    private Destination dest;  //目的地
    @DateTimeFormat(pattern = "yyyy-MM-dd HH.mm.ss")
    private Date createTime;
    private String title;
    private int replynum;
    private int viewnum;
    private String tag;
    private Integer favornum; //关注
    private List<String> arrlist = new ArrayList<>();

}